<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">
<head  th:include="common">
    <title th:remove="all" th:text="${model.title}"></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

</head>

<body>
<div >
    <table cellPadding="0" align="center" class="fb_add" border="0" cellSpacing="0">
        <caption align="center"><div class="add_title" th:text="${model.title}" ></div></caption>
        <thead>
            <tr class="result_head">
                <th ><div align="center" >&nbsp;索引名&nbsp;</div></th>
                <th ><div align="center" >&nbsp;项目名&nbsp;</div></th>
                <th ><div align="center" >&nbsp;数据源数量&nbsp;</div></th>
                <th ><div align="center" >&nbsp;执行设定&nbsp;</div></th>
                <th ><div align="center" >&nbsp;预期定时调度次数&nbsp;</div></th>
                <th ><div align="center" >&nbsp;实际定时调度次数&nbsp;</div></th>
                <th ><div align="center" >&nbsp;定时调度成功次数&nbsp;</div></th>
                <th ><div align="center" >&nbsp;定时调度成功率&nbsp;</div></th>
                <th ><div align="center" >&nbsp;手动调度次数&nbsp;</div></th>
                <th ><div align="center" >&nbsp;手动调度成功次数&nbsp;</div></th>
                <th ><div align="center" >&nbsp;手动调度成功率&nbsp;</div></th>
                <th ><div align="center" >&nbsp;成功导入条数(全索引)&nbsp;</div></th>
                <th ><div align="center" >&nbsp;平均导入用时(秒)&nbsp;</div></th>
                <th ><div align="center" >&nbsp;平均导入速度(条/分)&nbsp;</div></th>
                <th ><div align="center" >&nbsp;单数据源调度最高次数&nbsp;</div></th>
                <th ><div align="center" >&nbsp;单数据源调度情况&nbsp;</div></th>
            </tr>
        </thead>
        <tbody th:if ="${model != null}">
                <tr th:each="dto,iterStat : ${model.indexBuildDtoList}"  th:class ="result_content">
                    <td  align="center" th:text="${dto.indexName}"></td>
                    <td  align="center" th:text="${dto.projectName}"></td>
                    <td  align="center" th:text="${dto.datasourceNum}"></td>
                    <td  align="center" th:text="${dto.cron}"></td>
                    <td  align="center" th:classappend ="${dto.cronExecutedDangerClassFlag}? 'result_content_danger'" th:text="${dto.executeNumsExpect}"></td>
                    <td  align="center" th:text="${dto.cronSchduledNum}"></td>
                    <td  align="center" th:text="${dto.cronSchduledSuccessNum}"></td>
                    <td  align="center" th:classappend ="${dto.cronSchduledDangerFlag}? 'result_content_danger'" th:text="${dto.cronSchduledProportion}"></td>
                    <td  align="center" th:text="${dto.manualSchduledNum}"></td>
                    <td  align="center" th:text="${dto.manualSchduledSuccessNum}"></td>
                    <td  align="center" th:classappend ="${dto.manualSchduledDangerFlag}? 'result_content_danger'" th:text="${dto.manualSchduledProportion}"></td>
                    <td  align="center" th:text="${dto.importMaxNum}"></td>
                    <td  align="center" th:text="${dto.importCostAverage}"></td>
                    <td  align="center" th:text="${dto.importSpeedAverage}"></td>
                    <td  align="center" th:text="${dto.singleDataBuildNumMax}"></td>
                    <td  align="center" th:text="${dto.singleDataBuildStr}"></td>
                </tr>
                <tr class = "result_content">
                    <td align="center" th:text="合计"></td>
                    <td ></td>
                    <td ></td>
                    <td ></td>
                    <td ></td>
                    <td align="center" th:text="${model.cronSchduledNumTotal}"></td>
                    <td align="center" th:text="${model.cronSchduledSuccessNumTotal}"></td>
                    <td align="center" th:text="${model.cronSchduledProportionTotal}"></td>
                    <td align="center" th:text="${model.manualSchduledNumTotal}"></td>
                    <td align="center" th:text="${model.manualSchduledSuccessNumTotal}"></td>
                    <td align="center" th:text="${model.manualSchduledProportionTotal}"></td>
                    <td align="center" th:text="${model.importMaxNumTotal}"></td>
                    <td align="center" th:text="${model.importCostAvgTotal}"></td>
                    <td align="center" th:text="${model.importSpeedAvgTotal}"></td>
                    <td ></td>
                    <td ></td>
                </tr>
        </tbody>
    </table>

</div>
</body>
</html>